import java.util.Scanner;

public class demo {
    public static void main(String[] args) {
        Scanner sccan = new Scanner(System.in);
        System.out.println("请输入两个整数");
        int a=sccan.nextInt();
        int b=sccan.nextInt();
        int sum;
        sum=a+b;
        System.out.println("这两个数的和为"+sum);
        add(a,b);
        System.out.println("两个数的和为："+add(a,b));
    }
    public static int add(int x,int y){

        return x+y;
    }
}
